<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <script>
            console.log('script 000');
        </script>
        <!-- <script src="load.js"></script> -->
        <!-- async 异步 不按顺序 -->
        <!-- <script async src="load.js"></script>
        <script async src="load-litter.js"></script> -->
        <!-- defer 异步  按顺序 -->
        <!-- <script defer src="load.js"></script>
        <script>
            setTimeout(() => {
                console.log('setTimeout head ... ');
                litter();
            }, 0);
        </script>
        <script defer src="load-litter.js"></script> -->
    </head>
    <body>
        <script>
            console.log('script 111');
        </script>
        https://www.cnblogs.com/jiasm/p/7683930.html
        <h1>一行水平居中，多行居左</h1>
        <div><span>我是多行文字。我是多行文字。我是多行文字。我是多行文字。我是多行文字。我是多行文字。我是多行文字。我是多行文字。我是多行文字。我是多行文字。</span></div>
        <div><span>我是一行文字</span></div>

        <!-- 会阻断后面的dom渲染 -->
        <!-- <script src="load.js"></script> -->

        <style></style>
        <h1>遍历A节点的父节点下的所有子节点</h1>
        <div id="a">
            <span>1</span>
            <div>2</div>
        </div>
        <script>
            console.log('script 222');
        </script>
    </body>
</html>
